<?php
namespace haibao\cms\model\data;

class ImageProperty extends Base{
	/**
	 * 展示
	 */
	const HEAT_SCORE_VIEW = 10;
	
	/**
	 * 点赞
	 */
	const HEAT_SCORE_PRAISE = 30;
	
	/**
	 * 评论
	 */
	const HEAT_SCORE_COMMENT = 50;
	
	/**
	 * 收藏
	 */
	const HEAT_SCORE_COLLECTION = 50;
	
	/**
	 * 下载
	 */
	const HEAT_SCORE_DOWNLOAD = 50;
	
	/**
	 * 扫码
	 */
	const HEAT_SCORE_TWO_CODE = 50;

	/**
	 * 图片id
	 */
	public $ImageId;

	/**
	 * 点击数
	 */
	public $ClickCount;

	/**
	 * PC点击数
	 */
	public $PcClickNum;
	
	/**
	 * 手机站点击数
	 */
	public $MobileClickNum;
	
	/**
	 * 评论数
	 */
	public $CommentNum;
	/**
	 * 评论点赞数
	 */
	public $CommentPariseNum;
	/**
	 * 点赞数
	 */
	public $PraiseCount;

	/**
	 * 热度
	 */
	public $Heat;
    /**
     * 下载数
     */
	public $DownNum;
	/**
	 * 收藏数
	 */
	public $MarkNum;

	/**
	 * pc单图点击量
	 */
	public $IndexPcClickNum;
	/**
	 * WAP单图点击量
	 */
	public $IndexMobileClickNum;
	
	/**
	 * 图片提问数
	 */
	public $QuestionNum;
	/**
	 * 图片提问点赞数
	 */
	public $QuestionPariseNum;
	
	public function __construct(){
		parent::__construct();
		$this->intField('ImageId', 'ImageId', true);
		$this->intField('ClickCount', 'ClickCount');
		$this->intField('PraiseCount', 'PraiseCount');
		$this->intField('Heat', 'Heat');
		$this->intField('CommentPariseNum', 'CommentPariseNum');
		$this->intField('CommentNum', 'CommentNum');
		$this->intField('MobileClickNum', 'MobileClickNum');
		$this->intField('PcClickNum', 'PcClickNum');
		$this->intField('DownNum', 'DownNum');
		$this->intField('MarkNum', 'MarkNum');
		$this->intField('IndexPcClickNum', 'IndexPcClickNum');
		$this->intField('IndexMobileClickNum', 'IndexMobileClickNum');
		$this->intField('QuestionNum', 'QuestionNum');
		$this->intField('QuestionPariseNum', 'QuestionPariseNum');
		$this->setTableName('ImageProperty');
	}
}